OLE.OLE_ACTION Function
Syntax
Action_List as C = .Ole_Action([C ole_action_verb])
Arguments
- Action_List
If you call the method with no arguments, then the method returns a list of actions supported by the OLE object.
- ole_action_verb
The name of a method supported by the OLE object.
Description
Perform an OLE action, get list of actions if no action provided.
Discussion
The .OLE_ACTION() method is available for OLE objects (both field objects, and static OLE objects on forms).
Example
For example, assume that you had placed static Video Clip OLE Object on a form. Assume that the OLE object's name is " ole0 ". A button on the form could execute this Xbasic to play the video clip:
Topparent:ole0.ole_action("&Play")
Limitations
Desktop applications only.
See Also